package name.cyrax.red.jpv.api.funcs;

import name.cyrax.red.jpv.api.adapters.CalculationContext;

public interface InvocationContext
{
	public CalculationContext getCalculationContext();
	public void beginCalc();
	public void endCalc();
	
	public final static InvocationContext NULL = new InvocationContext() {

		@Override public CalculationContext getCalculationContext()
		{
			return CalculationContext.NULL;
		}

		@Override public void beginCalc()
		{
		}

		@Override public void endCalc()
		{
		}
	};

}
